//
// Created by cdm on 15/7/27.
// Copyright (c) 2015 xueyinyue. All rights reserved.
//

#import "ApiConfig.h"

//#define kApiServerUrl @"http://192.168.3.33/teacher/Home"
#define kApiServerUrl @"http://app.xueyinyue.com/Teacher"

@implementation ApiConfig {

}

#pragma mark - 验证码登陆接口
+ (NSString *)urlApiUserLoginWithVerification {
    return [kApiServerUrl stringByAppendingString:@"/Login/verificationLogin"];
}
#pragma mark - 密码登陆接口
+ (NSString *)urlApiUserLoginWithPassWord {
    return [kApiServerUrl stringByAppendingString:@"/Login/pwdLogin"];
}

#pragma mark - 注册接口
+ (NSString *)urlApiUserRegister {
    return [kApiServerUrl stringByAppendingString:@"/Login/register"];
}

#pragma mark - 免责声明
+ (NSString *)urlApiDisclaimer {
    return @"http://www.xueyinyue.com/regist/";
}

#pragma mark - 核销课时券
+ (NSString *)urlApiCheckDeleteTicket
{
    return [kApiServerUrl stringByAppendingString:@"/CheckDeleteTicket/checkDeleteTicket"];
}

#pragma mark - 获取验证码接口
+ (NSString *)urlApiGetVerificationCode {
    return [kApiServerUrl stringByAppendingString:@"/Login/getVerificationCode"];
}

#pragma mark - 密码修改接口
+ (NSString *)urlApiUserChangePassWord {
    return [kApiServerUrl stringByAppendingString:@"/Login/resetPassword"];
}

#pragma mark - 获取个人资料
+ (NSString *)urlApiGetUserInfo
{
    return [kApiServerUrl stringByAppendingString:@"/UserInfo/getUserInfo"];
}

#pragma mark - 修改个人资料
+ (NSString *)urlApiModifyUserInfo
{
    return [kApiServerUrl stringByAppendingString:@"/UserInfo/setUserInfo"];
}

#pragma mark - 获取七牛Token

+ (NSString *)urlApiGetQiNiuToken
{
    return @"http://app.xueyinyue.com/index.php/Sdk/Qnstorage/getToken";
}


#pragma mark - 获取核销课时券记录信息
+ (NSString *)urlApiGetBarcodeDetail
{
    return [kApiServerUrl stringByAppendingString:@"/Log/CheckDeleteLog"];
}

@end